package com.wzx.user.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wzx
 * @version 1.0
 * @date 2022/4/21 - 10:58
 * @description 标题
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "UserDto",description = "用户表")
public class UserDto {

    @ApiModelProperty(notes = "主键id",required = true)
    private Long userId;

    @ApiModelProperty(value = "用户名称")
    private String username;

    @ApiModelProperty(value = "用户手机号")
    private String phone;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "头像")
    private String head;

    /*@ApiModelProperty(value = "身份id")
    private Integer roleId;*/

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "出生日期")
    private String birthday;

    @ApiModelProperty(value = "令牌")
    private String token;

    @ApiModelProperty(value = "是否实名认证（0，未实名；1，已实名）")
    private String authentication;

    @ApiModelProperty(value = "用户余额")
    private Double amount;

    @ApiModelProperty(value = "账号状态（1：正常；2：被封禁）")
    private String accountType;
}
